﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp9
{
    class StuNameSort : IComparer<Student> 
    {
        public int Compare(Student x, Student y)
        {
            return x.stuName.CompareTo(y.stuName);

        }
    }
}
